
<title>消息详情</title>

<div class="layui-fluid" id="LAY-app-message-detail">
  <div class="layui-card layuiAdmin-msg-detail">
    <div template lay-url="{{ layui.setter.url }}/message/myNotifyDetail?messageId={{ layui.router().search.id }}">
      <div class="layui-card-header layuiadmin-card-header-auto LAY_notify_detail_header">
        <div class="LAY_notify_detail_title_box">
          <button class="layui-btn" id="LAY_back" style="margin-bottom: 10px;">
            <i class="layui-icon layui-icon-return layuiadmin-button-btn"></i>
          </button>
          <p>
            <span>{{ d.data.sentTime ? d.data.sentTime.split(' ')[0] : '' }}</span>
          </p>
        </div>

        <h2 class="LAY_notify_detail_title">
          {{ d.data.title }}
        </h2>
      </div>
      <div class="layui-card-body layui-text">
        
        <div class="layadmin-text">
          {{ d.data.content }}
        </div>
      </div>
    </div>
  </div>
</div>

<script>
layui.use(['admin'], function(){
  var $ = layui.$
  ,admin = layui.admin;

  $('body').off('click', '#LAY_back').on('click', '#LAY_back', function(){ 
    admin.events.back()
  });
});
</script>